Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / C1MessageBox Class / Show Method / Show(String,String,Action<MessageBoxResult>) Method
The text to display as a message.
The title bar caption.
An Action which is called with the result of the message box.

In This Topic
    Show(String,String,Action<MessageBoxResult>) Method
    In This Topic
    Displays a message box that has a message and title bar caption; and calls back with the result.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Show( _
       ByVal message As String, _
       ByVal caption As String, _
       ByVal callback As Action(Of MessageBoxResult) _
    ) 

    Parameters

    message
    The text to display as a message.
    caption
    The title bar caption.
    callback
    An Action which is called with the result of the message box.
    See Also